/*
 * @ author Junr
 * @ use 店铺
 */
import Request from '../request';
export default {
  // 店铺收藏
  storeFavorite (params, type) {
    return Request.post({ url: `/m/favorite/shop/${type}`, params });
  },
  // 店铺主页
  storeInfo (params, type) {
    return Request.post({ url: `/shop/info`, params });
  },
  // 店铺分类
  stroeCategory (params, type) {
    return Request.post({ url: `/shop/goods/cats/select`, params });
  },
  // 店铺优惠劵
  storeCouponList (params, type) {
    return Request.post({ url: `/shop/coupon/list`, params });
  },
  // 申请店铺
  shopApply (params) {
    return Request.post({ url: `/m/shop/apply`, params });
  },
  // 申请店铺
  getShopApplyInfo () {
    return Request.post({ url: `/m/apply` });
  }
};
